package com.tencent.wxcloudrun.dto;
import cn.hutool.core.annotation.Alias;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

// 定义一个类来存储上传链接信息
@Setter
@Getter
@Data
public class UploadLinkInfo {
    // Getters 和 Setters 方法
    private int errcode;
    private String errmsg;
    private String url;
    private String token;
    private String authorization;
    private String file_id;
    @Alias("cos_file_id")
    private String cosFileId;
    private String key;

    @Override
    public String toString() {
        return "UploadLinkInfo{" +
                "errcode=" + errcode +
                ", errmsg='" + errmsg + '\'' +
                ", url='" + url + '\'' +
                ", token='" + token + '\'' +
                ", authorization='" + authorization + '\'' +
                ", file_id='" + file_id + '\'' +
                ", cosFileId='" + cosFileId + '\'' +
                ", key='" + key + '\'' +
                '}';
    }
}